package com.hernie.piggymall.member.feign;

import com.hernie.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author HuangJp
 * @date 2022/2/24
 * 声明式远程调用
 */
@FeignClient("piggymall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();

}
